#ifndef _FTPPROFILES_HPP
#define _FTPPROFILES_HPP
#include <string>
#include <vector>
using std::string;
using std::vector;
namespace com_oocl_monitor {
	namespace domain {
		struct FtpInfo {
			~FtpInfo() {
				clear();
			}
			string _host;
			string _port;
			string _usr;
			string _pwd;
			int _maxCon;
			void clear() {
				_host = "";
				_port = "";
				_usr = "";
				_pwd = "";
				_maxCon = 0;
			}
		};
		struct Profile {
			~Profile() {
				clear();
			}
			string _warehouse;
			string _owner;
			string _profileName;
			string _orderType;
			string _dataDirection;
			string _regexPattern;
			string _uri;
			string _project;
			void clear() {
				_warehouse = "";
				_owner = "";
				_profileName = "";
				_orderType = "";
				_dataDirection = "";
				_regexPattern = "";
				_uri = "";
				_project="";
			}
		};
		struct FtpProfile {
			~FtpProfile() {
				clear();
			}
			void clear() {
				_ftpInfo.clear();
				_profiles.clear();
			}
			FtpInfo _ftpInfo;
			vector<Profile> _profiles;
		};
		typedef vector<FtpProfile> FtpProfileList;
	}
}

#endif